capitol police said a male shot himself as shocked onlookers watched .
the incident appears to have no connection to terrorism , police said .